package com.greenline.push.core.enums;

public enum TaskStatus {
    // 0 执行中 1已结束
    RUNNING(0, "run"), END(1, "end");
    private int status;
    private String name;

    private TaskStatus(int status, String name) {
        this.status = status;
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

}
